package com.aishua.andpaydemo.fragment.caifufragment;

import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;

import com.aishua.andpaydemo.ImageloaderHelper;
import com.aishua.andpaydemo.R;
import com.aishua.andpaydemo.fragment.BaseFragment;

/**
 * Created by aishua on 2018/5/16.
 */

public class BaoxianFragment extends BaseFragment {

    private ImageView img_lvyouyiwaixian;
    private ImageView img_gonggognjiaotongxian;
    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, Bundle savedInstanceState) {
        super.onCreateView(inflater,container,savedInstanceState);
        View view = View.inflate(getContext(), R.layout.fragment_baoxian,null);
        initTitleView( view);
        initView(view);
        initViewData();
        return view;

    }


    private void initTitleView(View view) {

    }

    private void initView(View view) {

        img_lvyouyiwaixian = view.findViewById(R.id.img_lvyouyiwaixian);
        ImageloaderHelper.dispalyImage(mContext,R.drawable.lvyouyiwaixian,img_lvyouyiwaixian);
        img_gonggognjiaotongxian =view.findViewById(R.id.img_gonggognjiaotongxian);
        ImageloaderHelper.dispalyImage(mContext,R.drawable.gonggognjiaotongxian,img_gonggognjiaotongxian);

    }

    private void initViewData() {

    }
}
